package com.splic.product.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.splic.common.annotation.Excel;
import lombok.Data;
import com.splic.common.core.domain.BaseEntity;

/**
 * 广告展示控制对象 t_ad_control
 * 
 * @author singe
 * @date 2022-01-04
 */
@Data
public class AdControl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 产品id */
    @Excel(name = "产品id")
    private Long productId;

    /** 产品版本号 */
    @Excel(name = "产品版本号")
    private String productVersion;

    /** 渠道编号 */
    @Excel(name = "渠道编号")
    private String channelCode;

    /** 是否展示广告 */
    @Excel(name = "是否展示广告")
    private Integer isShowAd;

    /** 有效期截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date effectiveTime;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer isDelete;


}
